﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Collections;
using GPCSC.Model;
using NickLee.Common;
using ExtAspNet;


namespace GPCSC.Web.sjs
{
    public partial class GGHCount : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {

        }

        protected void btnRegister_Click(object sender, EventArgs e)
        {
            string ids = Usual.f_querystringToString("id");
            string types = Usual.f_querystringToString("types");

            int count = Usual.f_convertInt32(HZLXfs.Text.Trim());
            Hashtable htable = new Hashtable();
            htable.Add("@count",count);
            htable.Add("@id",ids);
            if (types == "0")
            {
                new SqlReadXml().NotDoSQL("ADDcount_GG", htable);
            }
            else
            {
                new SqlReadXml().NotDoSQL("ADDcount_GGs", htable);
            }
            PageContext.RegisterStartupScript(ActiveWindow.GetHidePostBackReference());
        }
    }
}